#include <stdio.h>
int main()
{
    int ch, flag;
    while( (ch = getchar()) != EOF){
        if( ch >= '0' && ch <= '9')
            flag = 1;
        else
            flag = 0;
        printf("\"%c\" is a digit.( %d )\n", ch, flag);
        getchar();
    }
    return 0;
}